'use strict';

var React = require("react"),
    Reflux = require("reflux");


var BaseLayout = require("../layout/BaseLayout");

var LoginModule = React.createClass({
    /**
     * state 初始化
     */
    getInitialState: function () {
        return {};
    },
    render: function () {
        return (
            <BaseLayout footer>
                <div className="banner">
                    <div className="inner wrp">
                        <div className="login_frame">
                            <h3>登录</h3>
                            <div className="login_err_panel" style={{display:"none"}} id="err"> </div>
                            <form className="login_form" id="loginForm">
                                <div className="login_input_panel" id="js_mainContent">
                                    <div className="login_input">
                                        <i className="icon_login un"> </i>
                                        <input type="text" placeholder="帐号" id="account" name="account" />
                                    </div>
                                    <div className="login_input">
                                        <i className="icon_login pwd"> </i>
                                        <input type="password" placeholder="密码" id="pwd" name="password" />
                                    </div>
                                </div>
                                <div className="login_btn_panel">
                                    <a className="btn_login" title="点击登录" href="javascript:" id="loginBt">登录</a>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </BaseLayout>
        );
    }
});

module.exports = LoginModule;
